<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var F = function () {};
      Object.prototype.a = function () {
        console.log('123');
      };
      Function.prototype.b = function () {
        console.log('456');
      };
      var f = new F();
      console.log(f);
      console.log(F);
      console.log(F instanceof Function);
      // F.a();
      // F.b();
      // f.a();
      // f.b();
    </script>
  </body>
</html>
